/*
* acooly.cn Inc.
* Copyright (c) 2017 All Rights Reserved.
* create by ouwen
* date:2017-09-20
*/
package com.yiji.fintech.musfinance.entity;


import com.acooly.core.common.domain.AbstractEntity;
import com.yiji.fintech.musfinance.base.enums.CurrencyEnum;
import com.yiji.fintech.musfinance.common.enums.*;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.NotEmpty;

import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.Table;
import javax.validation.constraints.Size;

/**
 * center_bfj_bank_account Entity
 *
 * @author ouwen
 * Date: 2017-09-20 10:59:51
 */
@Getter
@Setter
@Entity
@Table(name = "center_bfj_bank_account")
public class BfjBankAccount extends AbstractEntity {
	/** serialVersionUID */
	private static final long serialVersionUID = 1L;


	/** 渠道ID */
	@NotEmpty
	@Size(max=16)
    private String channelId;

	/** 备付金账户名 */
	@Size(max=64)
    private String bankAccountName;

	/** 备付金账号 */
	@NotEmpty
	@Size(max=32)
    private String bankAccountNo;

	/** 银行账户状态 */
    @Enumerated(EnumType.STRING)
    private AccountStatusEnum accountStatus;

	/** 银行账户类型 */
    @Enumerated(EnumType.STRING)
    private BankAccountTypeEnum bankAccountType;

	/** 资金类型 */
    @Enumerated(EnumType.STRING)
    private FundTypeEnum fundType;

	/** 存款类别 */
    @Enumerated(EnumType.STRING)
    private SavingTypeEnum savingType;

	/** 直联查询类别 */
    @Enumerated(EnumType.STRING)
    private InfoQueryTypeEnum infoQueryType;

	/** 币种 */
    @Enumerated(EnumType.STRING)
    private CurrencyEnum currency;

	/** 合作银行编码 */
	@Size(max=50)
    private String bankId;

	/** 备注 */
	@Size(max=64)
    private String memo;



}
